//
//  IFlyIVWConfig.h
//  AIKITDemo
//
//  Created by xyzhang on 2023/3/8.
//

#import "IFlyBaseConfig.h"

NS_ASSUME_NONNULL_BEGIN

#define IFLY_AUDIO_SOURCE_STREAM       @"-1"
#define IFLY_AUDIO_SOURCE_MIC          @"1"

extern NSString * const IFlyWakeup_words_default;
extern NSString * const IFlyWakeup_words_multiple;

@interface IFlyIVWConfig : IFlyBaseConfig

@property (nonatomic, copy) NSString *abilityId;
/// 门限值，@"wdec_param_nCmThreshold":@"0 0:1000"
@property (nonatomic, copy) NSString *threshold;

@property (nonatomic, copy) NSString *sampleRate;

/// timeout, Unit:ms，默认20000ms
@property (nonatomic, copy) NSString *timeoutInterval;

/// 是否加载语法资源 @"0" or @"1", 默认加载；
@property (nonatomic, copy) NSString *gramLoad;

@property (nonatomic, copy) NSString *wakeupWords;

/// 音频来源；麦克风还是音频流，默认为麦克风 @“1”；音频流设置@“0”；
@property (nonatomic, copy) NSString *audioSource;

@property (nonatomic, assign) BOOL wakeupWordsLockedFlag;

+ (IFlyIVWConfig *)sharedInstance;

- (NSString *)getMultipleThresholdString;

@end

NS_ASSUME_NONNULL_END
